
import request from '@/utils/request'
// 表格数据
export function apiScopeCount(data = {}) {
  return request({
    url: '/submitApi/apiScopeCount',
    method: 'post',
    data
  })
}
// 获取用户名
export function getUsername() {
  return request({
    url: '/submitApi/getUsername',
    method: 'post'
  })
}

export function getAll(data) {
  return request({
    url: '/apilog/paramsquery',
    method: 'post',
    data
  })
}

export function getDetailById(data) {
  return request({
    url: '/apilog/params',
    method: 'post',
    data
  })
}
// 三要素符合
export function addReview(data) {
  return request({
    url: '/review/addReview',
    method: 'post',
    data
  })
}
// 三要素符合记录
export function getReview(data = {}) {
  return request({
    url: '/review/getReview',
    method: 'post',
    data
  })
}

// 三要素复核修改
export function updateReview(data = {}) {
  return request({
    url: '/review/updateReview',
    method: 'post',
    data
  })
}
// 三要素调用日志
export function querySubmitApi(data = {}) {
  return request({
    url: '/submitApi/querySubmitApi',
    method: 'post',
    data
  })
}